<?php

/* * 
 * 产品分类模型
 */
namespace Home\Model;
use Think\Model\ViewModel;



class ViewPingjiaModel extends ViewModel {


	public $viewFields = array(
		"OrderInfo"=>array("id","product_id","order_sn","num","color","chicun","waikuang"),
		'OrderPingjia' => array(

			"pingjia","miaoshu","content","niming","miaoshu","wuliu","fuwu","uid",
			'_on'=>'OrderPingjia.order_sn=OrderInfo.order_sn'

		),
		'Users' => array(

			"avatar","nickname",
			'_on'=>'OrderPingjia.uid=Users.id'

		),

	);

  







	}

?>